tidied up spelling on errors
added calendars to new homepage and created stocks method to restrict to valid stock for the calendar
added select statement to restrict orders to those not marked as arrived