Give proper code/preview focus.

Fixes #16