Made main_rethinkdb_porcelain be refactored a bit for some reason.