added code to disable tabs when no connection
Merge pull request #136 from jhaybie/finalTouches

added code to disable tabs when no connection