Fixed Tile errors

Fixed up the errors with the Tile class being moved to Entities, and
restored some functions that had gone missing in the merge.