major code refactoring; kernel dll injection; various bugfixes