Sound playin' code now makes sure the volume is a number, falls between 0 and 1 (inclusive) and sets it to 1 otherwise.