Bug fixes.
- Write area didn't always get focus when it shoudl have.
- Random bugs.