PVR: Fix stopping when station timeline is open and user presses stop
Merge pull request #3118 from fritsch/pvr-fix-timeline-crash

PVR: Fix stopping when station timeline is open and user presses stop
Fixed some warnings when compiling using -O2