Handles log toggling better.
Windows initialize asset managers if they aren't.
Adds a test for opening multiple windows.
Adds improved error checking in many cases.