Added minimap, fixed some bugs.