Fix compiler warnings
Reorganize the code

Separate EggFlowBoxChild from EggFlowBox code, and
keep things a bit more organized.