Removed some unused declerations
Fixed a bug with the vmm
Some code cleanup & 2 new linked list functions