while investigating the segfault #145 (closed), which happens in dynamic_cast<LayerForm*>(w)
dynamic_cast<LayerForm*>(w)