Tidy titlebar.c
Added win_get_title
Merge branch 'master' into xep-0223