Minor code cleanup

Use quotes and Ruby 1.9+ hash syntax consistently.