Local uploader and preview done. Heavy bug on chrome. Orz