Hey guys!  Great job on the emu!  Anyway, I figured out how to fix the merchant and status bugs.  In client_process.cpp line:4269, it delete's cpi, but handyitem isn't done with it yet.  On the source I got, I just moved it to line 4299, right after the if statement.
Also, as for the status<128 bug.  Status is set to tinyint.  Tinyint is only 7 bits so it has a max of 127.  You can just change it to an int by typing:
ALTER TABLE account MODIFY status int NOT NULL default '0';
Hope that helps.  Would love to hear how that works out, email me if ya get a chance.  Email should be on profile. 
 
Laters,
Keshik