Many UI bugfixes
Add dependencies.
Merge remote-tracking branch 'upstream/master' into dev