First, some questions to the developers:
1. Why is the js sources gzipped in the source tree (www/secpanel)?
2. Is anyone currently working on the security panel. I see some unused JS mainly regarding zones that doesnt seem to be backed by the API.
3. The contribution guidelines tells me to contribute using master branch, that's fine for me, but is it equally ok to start from development branch?
Second, my proposed improvements, most important one first:
1. JavaScript
1.1 Removing evals
1.2 Scoping
1.3 Replacing (scattered) refreshs with an delayable and contious heartbeat
1.4 Moving event handling from DOM to JS (AddDigit etc.)
1.5 Removing dependency on less.js, i see no point in using less for this simple interface. The site would probably load quicker without it (css is far less code than less.js + less source). An additional win is that we get rid of a setInterval used internally in less.js.
1.6 Making it not freeze the browser when left open for some time
1.7 Make the ajax calls async (async: false is just wrong

1.8 Make touch response faster (with onClick there is a ~350ms delay between lifting your finger and getting stuff done)
2. Stylesheets
2.1 Removing less, se 1.5
2.2 Adding support for themes, moving current styles/fonts/images into themes/default/[js/css/img]*
3. Security
3.1 Access to security panel API without being authenticated. Currently you have to log in to domoticz to be able to use the security panel(?). I believe it would be more secure to be able to arm/disarm without actually being logged in.
3.2 Possibility to arm without entering code, maybe after opt-out via configuration. Many real world security panels has this option.
Any thoughts? Am i on the right track? More ideas on improvements from users or developers?
Edit: Excuse and/or ignore my grammar, I'm a swede

Edit2: Screenshots of the new themes "light" and "dark"

