Make call into plugin thread safe

**(20:14:53) (psychonic) you can't call sp from in a thread**