Added Savitsky-Golay filter and some options to preferences