-Updated to game libraries 1.040

-Fixed a ton of bugs
-Started work on the new structure
-Added support for changing the light color
-Added some more error handling