Several bugfixes, overhaul of TileEntity-based upgrade management