version 0.4.0 release, updated main(), encode_flac() and encode_mp3() functions