Added Retina Compatibility

Forked repository and added retina compatibility. Unfortunately I can't test the code since, I don't have a mac to compile it, but I think it should work. Needs to be tested.