added kitkat compatibility
indentation fix
Merge pull request #64 from aogilvie/update/kitkat-compat

Update/kitkat compat