Add missing license headers.
Use pragma once.
Add visibility push/pop pragmas.
Clean up line breaks / includes a bit.
Remove unused variables in vm_unit.cpp