added input file visualization when data it's set
some fixes for attachment helper
fix some bugs on metabox handling of uploads