Initial support for a text based file format.
Changelog update
Generate PenUp event when user logs out (if needed)

This is important with indirect drawing to ensure the temporary layer gets merged.
fixed eraser blend mode setting
Enabled indirect drawing for the eraser