Various tweaks and safety features
Fixed bug with period counts in sliced histo
More testing. Times: 8/11/2 s