gain + windows

gain is implemented as "proper" gain, so no one needs to have a slider that says "more less gain" or calculate values.
the windows changes include changes to cmake, because at the moment all .c files are being built as c++ which is a mess - it's either one or the other.