Changed timeouts to minutes in the webinterface
Fixed small bug in statemachine