Base for GUIs and Tile Entities.