Fixed pointer bug and removed compiler warnings in VicePlugin