Fixed a crash which happened when trying to show views or layers from 64-bit simulator.
Fixed an issue which prevented graphics context from being created on 64-bit devices.
Merge pull request #22 from antons/master

Fixed issues which prevented show view and layer commands from working on 64 bits