remove previous programmes and display spinner
improvements to processEpisode and changing formatDate to have local vars
retrieve all upcoming episodes and related code sharing changes