fixed short name of wave_device (nw)
disabled some Visual Studio analysis warnings / fixed some obvious errors based on analysis output (-video gdi works again) (nw)