Syntax Revision

Replaced braceless if statements and removed the die() on an
unsuccesful connection.