Fix to bug on Mac where opening new document didn't paint the document.
Merge pull request #16 from reesmichael1/beta

Fix to bug on Mac where opening new document didn't paint the document.