Merge pull request #14 from reesmichael1/master

Update beta to match master.
Fix issue #4: Crash on selecting non-HTML document.
Merge branch 'beta' of https://github.com/reesmichael1/WebWhirr into beta

Merge changes to remote beta branch to local beta branch.
Merge pull request #15 from reesmichael1/beta

Merge beta changes into master.
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.
Merge pull request #17 from reesmichael1/master

Update beta branch with merges to master.
Remove #define LINE_SPACING.
Add support for .htm documents by adding checkFilepath() function.
Confirm compliance for issue #6 with HTML5 specifications.
Update fixes for crashes on not opening document and selecting an invalid type.
Add document type check to filepath passed through command line.
Fix bug in which initially painted text was positioned incorrectly.
Add support for proper text wrapping.
Remove need for horizontal scrollbars and remove check for text wrap on every word.
Fix bug with text not shrinking to match resized window.
Update to reflect updated text wrapping.
Add test4.html to demonstrate performance issues with large files.
Change check to filepath to || instead of && for .html or .htm.
Remove unnecessary code that was commented out.