bug fixes + added support for wmav2