updated to program logic, changes to ui-controls css
updated to program logic, changes to ui-controls css