Added VColorRef;
Minor refactoring;