pretty code! Minimap stuff that is too complicated to use.