Warning message and error concerning copy constructor corrected.