minor fix to error handling. system has complete basic functionality now