Move some qml stuff away from js
Show search text in main page
Removed refresh menuitem, refresh happens with mode setting
Theme values to constants for easier use (and to change easier if needed)