Major UI refactoring, add draft of AJAX tables loading functionality.