add mux for drawing objects using one FSM

fixed gamelogic bugs, compiler warnings