added Settings to main menu, created view tbms_statistics, simplified query in tbms_progresses controller