made parsing for datetime roughly 5x faster (bug that kept searching for date even if one was found already), and some minor improvements.