using full available window resolution for rendering
converting line endings to unix