Made some bug fixes to database and main server code. Item tool items now save properly