Improvements.

- Fixed a bug where a thread can be bumped with a blank post.
- Improved the way how ban checking is performed.
- Added global error handler.
- Improved the style of some elements.