Merged queries in loadTopics; Created thread class and controller + view for thread listing. Moved status bar handling to base.php