various changes

Removal of unused code, visual changes and logic refinement in media
classes. Also added ability to abort asynchronous operations in
filescanner asyncdirscan