<commit_before>#Task List

Version 0.1:
- [x] Add exit hotkey
- [x] Show last valid frame if source window becomes unavailable,
 instead of throwing fatal error and killing process.
- [ ] Add configuration file support
- [x] Make command prompt arguments processing routine process any number of 
arguments in any order
- [ ] Add background image support
- [x] Repair top offset mechanism
- [x] Add log level control option
- [x] Add ability to specify id of source window from command line
- [x] Try to acquire source window pixmap only in case it is in visible state
- [x] Add daemon option
- [ ] Send mouse clicks from target window to source window on same coordinates
- [ ] Redraw target window with fewer FPS in case of source window being 
unmapped
- [ ] If source window was unmapped, make program to wait longer, before 
checking source window state again
- [ ] Add comments to the new part of argument processing routine
- [ ] Add comments to everything
- [ ] Clean code
- [ ] Document program flow
- [ ] Write dependencies list
- [x] Add singleton option
- [x] Fix error with grabbing same keys from multiple applications
- [x] Fix log text formatting
- [ ] Add option to select exit and translation control key combinations
- [ ] Add option to select PID file path
- [ ] Add verbose for resource-clearing routines
- [ ] Add option to control writing of log info into specified file
- [ ] add more complex checking of Display pointers, not only for NULL pointer,
 but also for invalid pointer and access errors.

Version 0.2:
- [ ] Add tray support
- [ ] Add rectangle translation support
- [ ] Set propriate logging levels by using all of them (0, 1, 2)

Version 0.3:
- [ ] Add remote x server support

Version 0.4:
- [ ] Move to C++11<commit_msg>Version 0.1e -new background image related tasks added<commit_after>#Task List

Version 0.1:
- [x] Add exit hotkey
- [x] Show last valid frame if source window becomes unavailable,
 instead of throwing fatal error and killing process.
- [ ] Add configuration file support
- [x] Make command prompt arguments processing routine process any number of 
arguments in any order
- [x] Add background image support
- [x] Add background image name selection option
- [x] Add ability to scale background image
- [ ] Make background image being scaled, add fill option
- [x] Add ability to load jpeg images
- [x] Repair top offset mechanism
- [x] Add log level control option
- [x] Add ability to specify id of source window from command line
- [x] Try to acquire source window pixmap only in case it is in visible state
- [x] Add daemon option
- [ ] Send mouse clicks from target window to source window on same coordinates
- [ ] Redraw target window with fewer FPS in case of source window being 
unmapped
- [ ] If source window was unmapped, make program to wait longer, before 
checking source window state again
- [ ] Add comments to the new part of argument processing routine
- [ ] Add comments to everything
- [ ] Clean code
- [ ] Document program flow
- [ ] Write dependencies list
- [x] Add singleton option
- [x] Fix error with grabbing same keys from multiple applications
- [x] Fix log text formatting
- [ ] Add option to select exit and translation control key combinations
- [ ] Add option to select PID file path
- [ ] Add verbose for resource-clearing routines
- [ ] Add option to control writing of log info into specified file
- [ ] add more complex checking of Display pointers, not only for NULL pointer,
 but also for invalid pointer and access errors.

Version 0.2:
- [ ] Add routine for automatic conversion of background image from varios
 formats to bitmap
- [ ] Add tray support
- [ ] Add rectangle translation support
- [ ] Set propriate logging levels by using all of them (0, 1, 2)

Version 0.3:
- [ ] Add remote x server support

Version 0.4:
- [ ] Move to C++11
{'fraction_non_alphanumeric': 0.06663196251952108, 'fraction_numerical': 0.007287870900572618, 'mean_word_length': 3.698044009779951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4947133', 'n_tokens_mistral': 1009, 'n_tokens_neox': 974, 'n_words': 567}