Revert "Fix a bug where maria wasn't using the window console for debugging."

This reverts commit c8266ad17a724e53af1cda0e98a64a53e3919c21.
Updated the complied debug version as per Peter's suggestion.