Don't do remote get if there is cached (transient) data available.
Allow current event to display for $max_length == 'events'.
Code cleanup.