Revert "fix grid expand"

This reverts commit 0a969486eaef949e50e144a0b1632d0bfb79ed25.
refactored library. fixed type. added empty, selection-based toString, and shift.
added untracked. fixed fill