Removed Box2D and the old ResourceManager.
Fixed UIPage create* methods.
Fixed some errors.