small fixes

a. fixed parsing msg from file when no file attached
b. fixed transparent in some layouts
c. handling files that are not specs files
d.