Revised models (changed nullable id's, etc. to int), moved customer/invoice control to mainwindow