Give console an identity, catch name=None from console

* Name the console so `script.connection.name` in commands such as
`/pm` will return 'Console' if ran from the console
* Catch `AttributeError: 'NoneType' object has no attribute
'startswith'` when running a command like `/whereis` from the console
without a name argument