Changed Widget::children_ to std::list, added Z-ordering.