First part of boolean flip seems to be clean; need to debug the second part and figur...