lots of changes. Cuts faces, new comments, new graph key structure, added some yet-unused functions, cleaner code and comments, etc.