Outlined language recognition and first pass of Windows matching (ugh)