Added error logging for dangling sound/timer references