added slotWindowSize to config file and bug fixing