Allow connect to actually return the connection

* Also, more consistent indentation, comment out front end print statements

The print statements are fine at the REPL, but probably not appropriate when connect is called from other code.  At the least, they should print to STDERR--let me know if you want me to make that change instead.