finish moving to GtkBuilder

also threads
fix async lock-hiding window