fixed typo in code completion, modified scopes in theme, a few minor fixes in syntax