Generic improvements.

- Fixed a bug in modaction file.
- Improved the performance of thread displaying. ( Now fetch all data
over a single query ).
- Added basic auto thread updater.
- Improved Moderator menu.