QuickMagic bug fixes for windows