Fixes #444
Fixes #443
Added sleepRecovery for some stuff. Partially fixes #440.