Fix Quirks Mode issue

Wrong thread error in Quirks Mode
Merge pull request #91 from MrRemiB/patch-1

Fix Quirks Mode issue