Some cleanups and error message improvements to trakt plugin