Regression fix

Fixes critical bug introduced with encoding command line arg... thx Zegeri for reporting. :/

Also enables Hardware acceleration in Android manifest.