Make lib more simple by removing SubWindow class, use Window class for all sub window instead.