redid flaps.
refactored entire thing. docking is now done by passing in the actual SplitterPanel instead of the name of it.