Added ringing progress; removed unused function, and other unused code.