Read media information (image / song / video) in SendFileBox in the same way it is read in FileLoadTask::process() and reuse it in FileLoadTask if it was loaded already for the box.
Also implemented Global::WorkMode() as an base::Variable.
Next commit fixes the build.