Fixed map resize bug and minor formatting edits.