Completed minimap. Merged code.