Code cleanup

All references to vid_ref cvar has been taken out ...