Tidy titlebar.c
Added win_get_title
Merge branch 'master' into plugins

Conflicts:
	src/ui/titlebar.c
	src/ui/window.c