Adding depth filtering to the GUI