Fixed client destructor and removed unused 'FrameListener.cpp'