Window now grabs focus on creation, and other minor tweaks.