Fixes to WPSManager

Some fixes related to ajax request caching and callbacks usage, fixed some variable names