General cleanup and code maintenance

Also added some Graphic features to GameObject, and removed some of the
unnecessary properties/methods from MobileObject.