Creating products now works

Other misc bug fixes