Fixed sound_remove, renamed variables, removed compiler warnings