Do not use non-standard tool window for minimal mode.

Based on PR #1393 which reported the non-standard tool window
created issues with accessibility tools. This patch uses a
slightly customized version of a normal window instead, only
deactivating the maximize button. This should also remove
the need for special casing for OSX.