Fix control ID's
Add error checking in database copy mode
Fix UTF8 broken string conversion