Tilor bug fix

No longer crashes on Windows.