Continued work on logging, session, kernel, etc.