Added ability to switch between filters
Made moving average filter work
Fixed a heap of minor issues