Fix disabled tools on new windows

Fixes issue #130
Set window title correctly
Recent menu code simplification