This project is finished for now. It seems to fully work for layout.