Focus handling, visual changes + misc fixes.