Improve code style
If models are the same, set the same content to the side editor
Unnecessary hide
Consistent use of variables
Restore split only if necessary
Fix flickering side editor
Improve colours in light theme - #22
Merge branch 'master' into statistics

Conflicts:
	static/assets/js/codebrowser-min.js