Added some error messages to several views. Changed the way the amount earned per employee is calculated. Some other minor fixes.