Fix "setWidescreen" causing corrupt PowerPoint files

Using the `setWidescreen` function often created corrupt PowerPoints. This PR fixes the issue by ensuring all slide dimensions are integers.

There is a lot of noise in this commit because I also stripped excess whitespace in the file. The real changes are lines 539 and 554. I'm happy to eliminate the whitespace noise from this commit if you like.