Error Logging/Cheking added to interface.