Slowly building the UI callbacks and such.