fixed a bug in build for extensions in linux
fixed the missing option in preferences for sounds
configuration now read all values
simplified code