implemented export colors, fixed bug with cursors