Fixed another permission issue.
Fixed accidential compiler issue.
Improved VM handler.