DateTime support and some long/ulong fixes