Interface improvements v2

Hi,
I have finally found some time to work on webui.
I created a new branch to backport the changes so they could be merged.