Some refactoring.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Rename Filter to ModelFilter

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Improve patch for hardware acceleration support on OS X.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>