Fixed error with earcon causing the program to crash.
Fixed error with earcon causing the program to crash.