added styles for text
added different style for image based map
moced building of string for cursor location to new class