use wallsleeps to avoid simulation problems, closes #77.