A round of rust-layers cleanups

This PR contains various rust-layers cleanups, including the removal of dead code and general simplification. This is in preparation for a more thorough rework of the tiling code.