Removed debug output
Added method to connect learning object slots, to make database work without image.