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 corrected some little issues occuring on OSX and sublime text.

It can surely be optimized :)

Cheers,