put support, Window module, Idle on finish

Also includes support of old draw functions, and maxx and maxy