Fixed some bugs.

- Fixed that writes something in the urlbar of previously focused window
- Fixed wrong character when pressed ctrl + t
- Fixed showing progress bar after pressed ctrl + t
- Remove browser when tab was empty
- Fixed crash when pressed ctrl + w after ctrl + t