fixed bug in xtea encryption, made some stylistic code changes, added additional sanity checks to config load
changelog updated