Allow Update and Draw functions to be turned off

allow nil to be passed as an argument to SetUpdateFunction and SetDrawFunction to turn off said functions.
Merge pull request #267 from sigatrev/Update-and-Draw

Allow Update and Draw functions to be turned off