Improved look for ScatterMap. Added Close button. Refactored scatter map creation into a function