Allow external access to GenericClick

So plugins can use it to easily add console command buttons to the main
page or other pages.