Changed application & fixed changeusersetting.jsp

Changed our application to make it compliant with new database schema
changes. Also edited / fixed the change users settings files. Fixed the
QI calculator.