WPF: Major refactoring of WaveFormControl and WaveFormCacheService to clean up the code and the algorithmn for getting tiles (moved some of the logic from the control to the cache service). Also split the methods to make them shorter, clearner and easier to understand.