LED profile switching

but when I start renaming and moving the void setup/void loop around, it starts telling me that things are undefined

Read this:- http://www.thebox.myzen.co.uk/Tutorial/Merging_Code.html