Further code to code contracts. (454 warnings, 2191 messages)
Fixed some stuff with Filter and filter input slots.
Altered the way filters handle processing of frames.