sp_filt_mkII: clean up code

Clean up functions names and make static.