unregister

fun unregister()

Stops KSpigot from listening to actions in this GUI anymore.