Sleep foundations

Fix the base everything else rests on — no gadgets required.