Some issues with OSX

Hi,

it's my very first participation in github, so I might not be doing things the right way.
I've tried to correct some little issues occuring on OSX while using Sublime Text.

It can surely be optimized :)

Cheers,