Added thread_Open and thread_Close

Removed useless comments
Checks for connection before forum commands
3 new Exceptions:
BadCredentials
NoConnectionException
NoPermissionLoggedin
TODO: adddetect or open/close success