Fixed Dialog & made Map extend JPanel, not Canvas.
Fixed extra import warning.