Fixed image data stream configuration and jquery issues. Plays nice with new cwrcwriter and stand alone.