Add ERROR and WARM_START modes for diagnostic purposes. Signed-off-by: James Smart