Fixed flatBedrock, modified dig, up/down, and detect functions to be better. Added invert option to several generics. Fixed small bug with rednet