Safer code. Part 2.

- Asserts
- Nil checks
- Errors
Refactored OKNetworker main method. Work in progress.