* Change menu buttons to links. This allows right-click/middle-click etc. to work properly. * Clean up javascript in response to review comments. Also fix error in handling of Enter key. * Simplify regular expression construction from selection.