Refactored example:

- Moved logger into separate file
- Don't explicitly call desktop code, let it auto-execute on page ready
- Prettyfication