Bug fixes

Fixed a bug that prevented thread comments being marked as read and
optimised page scroll loading.