MainFrm: Get the source filter from the graph immediately after opening the main file.

Changed all code that depends on the source filter to take advantage of it.
Fixes issues with the wrong source filter being used when multiple source filters are on the graph.