Fixed an undefined 'that' variable error.

I had forgotten to keep a reference to the main plugin object.
The reference on save_datasource is now called 'this_p'.
All references to 'that' have been updated.