Issue #9: Libkey Check
Added libkey check, but it needs much better integration with the output mechanisms.