Further stub flesh added to calcXP to allow for plugin callbacks. needs work.