Blackbox Data Recording

Added timestamp and error status