Fix for issue #1.

Fixed bug #1 where an error would occur if you tried to run HTML-Templates without a file already open.