Restructured program after testing on hardware, added sound functionality, broke out updateLEDs into seperate functions