progress on window dimensions, mage card fixed