Fixed folder checking.
Save functionallity implemented.