Select Connected, keybind “O” will select everything connected to whatever you currently have selected. I find it very useful for clearing up space after I finish a job and no longer need to make a shape. This doesn’t work with train tracks. I think it should.