Originally committed to SVN as r4412.
There are a few issues to fix: * Delete the pointer in frame_main from the modless dialog. * Fix string storage in the logging class. * Close button doesn't work. Originally committed to SVN as r4406.