Improve the graph and check commands a little and fix some errors in rooms.