NXGame functionality, you can actually play it now ! :D

Also added a flash function to display error messages.