initial commit for minimap plugin - source code used from jakefried