Fixed Cache meganism, added logging to Weka plugin