Rename open->init and some debugging