Fixed pretty much everything.
Now testing touches for the -android proj.
(c) Sarang Joshi et al