fixed saving settings to primary folder, saving sizing and position preferences