Fix for Issue #41 and #42

disabled plugins_loaded action as it doesn't do what was intended to fix Issue #12 and causes problems.