unref wsg on _dispose()
better at window-close during recalc
ws defs and tk browse go back

oops, dropped them
save and restore mainw size
better window size again
recalc and recent fix
more recent improvements