- Moved vm related functions from process.c to vm.c
- Fixed lot of warnings