Some things to avoid crashing.