Converted most use of datetime to arrow. Misc date/time improvements