Version 0.1: bug corrected: subwindow control