Fix PIE and minor cleanup
Merge pull request #1 from Ryuinferno/kitkat

Fix PIE and minor cleanup