Window resizing and SSAS button fixes