hiding the search frame clears its content
put the 'webkit' shortcuts in the 'webkit' constructor
remove the now superfluous register_shortcuts
using partial functions as callbacks
moved webkit connection to webkit
cleanup
cleanup; and set the NAM on the webkit, not on the tab