TileEntity FINALLY WORKING! see changes for fixes