Polish for filters

Filters now draw from inventories above them, item movement is less glitchy, and some minor refactoring has been done (including the use of CoordTuple as requested).