select windows interactively
set window via command line
some usability improvements