added error check to trashy function.
updated version number.
added error check to historybook function.