Fixed and reviewed all StyleCop messages. Closes #34