After 3 hours of work, I finally finished writing the "Center This Splitter" code (mouse right-click on image splitter) for EACH splitter on EACH quad layout. It's working as itshould now. Had to do the same for "Center All Splitters".
It's not a prety code but it works. Now to update EL for MAME 0.197.