Nothing major

Simplifiy startswith and endswith.
Privatise task & event