(awb) refactored media window into something less insane