Cleaned up #ls; use #entries instead of #glob
Use $stdout.puts
Print to stderr on error
Save last exception to _!