added better chdir method, removed twitter login without tweeting, small fixes