modifies config window prototype for better layout handling