Removed debug code, fixed non-apparent typo in extension_loaded