Made some fixes to some horrible mistakes, and also fixed the horrible crash that would sometimes happen during VFC.