Minimap border, optimizing draw, fixing bugs