Improve injection code. New API for checking if LCAPI has been correctly injected.