awesome: update titlebar functions, clean up signals