Resolve TODO of finding out the default Notepad window size and wrapping to its line width.
Clean up usage of stdout, stderr and the future log file:
- Add functions for explicitely writing to stdout, stderr, log file and combinations of those
- Use those functions instead of echo