rical/9pm — pull request #20 by neg (2014-08-13 12:37:14+00:00)
Title: shell: only check for active shell when closing if it is set

Solves the bug:

shell foo
shell bar
shell foo
close_shell foo
close_shell bar