2.0pre10final

finished up the work for pre10
fixed some sign bugs
changed setup of mysql tables