Changes needed to get it working on the mobile platforms.
Merge pull request #68 from kuu/master

Changes needed for working on the mobile platforms.