Fix error handling

- Modify error handling of a wrong Room value
-- The process exits on error
-- Better error message is provided
Fix typo
Merge pull request #1 from YasuhiroYoshida/bugfix-error-handling

Bugfix error handling