trivial: Fix up a potential NULL dereference

Spotted by clang...
trivial: Fix up a potential NULL dereference

Spotted by clang...
trivial: Remove an unused variable
Set a management plugin for each GsApp so that multiple action plugins can exist