make past_events GET variable work, make past events label clickable

+ a few cleanups