hooking up actions to UI.

Not tested. At all. Not even compiled.
I feel like shit, and this is slightly better than an "updated README" commit I was otherwise going to do (but couldn't think of what to change in it).