In particular, this implements default dates for deadlines and scheduled items, taken from previously existing deadline/scheduled timestamps in the same entry. Also we fix two minor bugs.