Added filters, fixed an error that prevented adjusting the gain