Refactor|Client: Moved main loop drawing to LegacyWidget

The actual drawing of the main loop now occurs in the LegacyWidget.

Todo: Move time update and event handling, too.
Refactor|Client: Added ClientApp

Moved most of the code in main_client to the ClientApp.