Fixed array out of bounds 9999 error. Compiles and runs without crash, but crashes when any boost buttons are pressed. If rerun again Device or resource busy error occurs