removed debug messages
minor warning fixes
fixed support for u3opic