added file upload ability. other usability cleanup, fixes.