Move gui components to interface.

Move viewport, panel, popup to interface_t.
Handle map cursor updates internally in interface_t.