added *.swp
fixed various bugs in mkdir(), should be working now