Only grab input focus at startup if it's None (issue #148).
Remove unused variable.