Include cleanups
Use const char * instead of char *
session::update_indexes() debug print