Changed vector parameters to pass by reference.  Changed void pointer parameters to u8 pointers.