Fixed bugs with replicating to pool with different name.
Added some troubelshooting printf's when there is an error.