Fixed a bug in the GameContainer class, and tested it.