Most things working.

Added email. Autofocus working. Prediction working. Bug fixes.