Pre-code cleanup. Bug fixes. Offline status.