WPF: Fixed several sizing issues with wave form scroll viewer. Added several temporary logs to check the drawing performance for the wave form. In short, it is pretty bad and must be optimized because it takes way too much time to draw the waveform in memory compared to other SDK's (including GDI+/WinForms). The performance hit is in context.Close() but I'm guessing that's where the actual drawing happens.