As mentioned infb6ac24514and9a6beb915d, `file_draw_preview()` is a rather overloaded and confusing function. I'm trying to make it more readable. Split out file indicator icon drawing from the preview drawing function, there's not much reason for it to be there as well. I rather keep functions a bit simpler and more manageable. Also added some comments and tried to make logic a bit more clear.