Wave profile, Windows compilation and other modifications...