Improve code readability of presentwindows effect
Summary: Added newlines in various places to make the code a bit easier to read and digest.