Change addTopic div to form so that <enter> can add a new topic.
Attempt to implement GAPI callbacks.