added colorpicker and improved image saving