Preventing onDraw and onUpdate property from being changed while the game is running.
Improving error messages.