Resolved bug that caused plugin not to respond to API calls if the plugins basedir was not 'wpmt'. Shakes head.