Fix unsupported terminal
Fix and improve getWorld for empty/null worlds