Fix for Bug 1 (Unhandled Exception)

This fixes bug https://github.com/PoshSec/PoshSecFramework/issues/1 with
the unhandled exception. It will now check at both the double click
function and the initializescript before attempting to reinitialize the
runspace.