Fix a few exceptions
Disables all buttons if no session is input into enableButtons for session
Merge pull request #308 from TheTeam8s/bug-synchronized

Fix a few exceptions