refactoring: file name generation
Add setting to disable tablet events.

Some graphic tablets are not fully supported by Qt and the tablet
events will contain invalid data.

Issue #151