Put message into quotes & open browser if Trello Card detection fails

Also fix a variety of linting issues in the process