Simplified interface. Added window size memory.