Fixed maps loading issue by cleaning up initialization; optimized maps code to be more self-contained; adjusted parser to omit newlines (results in cleaner html)