Better console logging and comments.