robust file removal and ui changes