diff --git a/COPYING b/COPYING
index 2ff764f6669855608572d02805d805ee786e96df..701ae4faba42922fe1446755e0693b2c858f297c 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2021 Yoran Heling
+Copyright (c) 2007-2022 Yoran Heling
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
diff --git a/ChangeLog b/ChangeLog
index c15292d713aab1ac2a6038c688c834d75758596b..87ea9eb4b7885bff97d1b45984849285209a6624 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1.17 - 2022-04-28
+	- Add 'dark-bg' color scheme and use that by default
+	- Use natural sort order when sorting by file name
+	- Improve compatibility with C89 environments
+	- Fix wrong assumption about errno not being set by realloc()
+
 1.16 - 2021-07-02
 	- Increase width of size bar depending on terminal size (Christian Göttsche)
 	- Set/increment $NCDU_LEVEL variable when spawning a shell
diff --git a/README b/README
index 709e9133e520386c896a23353e6f50c4f0d05e96..2804f35693a2f9df6b332eabb89a58d7549452e5 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-ncdu 1.16
+ncdu 1.17
 =========
 
 DESCRIPTION
@@ -33,7 +33,7 @@ INSTALL
 
 COPYING
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/configure.ac b/configure.ac
index 9d57782be5a65cc76ed70e3a31e0c3aab0abd638..1f6e94d5dddfdcc4025bd3961eab5852b7c8a7e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 
-AC_INIT([ncdu],[1.16],[projects@yorhel.nl])
+AC_INIT([ncdu],[1.17],[projects@yorhel.nl])
 AC_CONFIG_SRCDIR([src/global.h])
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE([foreign std-options subdir-objects])
diff --git a/src/browser.c b/src/browser.c
index c05469d114d2b1f7101c87bebf87a8710162a12a..1f8fd66d6f037ce10b5dbcc87ea4b7efb8469069 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/browser.h b/src/browser.h
index 03c3f8b0c88e8a6c16eef0eb408e79e529f69f7a..b23ddf2cab90bf9aaf81049492ded9ce602098b1 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/delete.c b/src/delete.c
index ab3534c04405108ec3c1c1d16465716b8ccee6bf..1645083c989be3560423c4d688d2ca4367598ca2 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/delete.h b/src/delete.h
index 9b2dcd7f4d8096cd0a828984647458d55af5392d..311a881d0ed04f3ec65ebad8d6a31bee55588f17 100644
--- a/src/delete.h
+++ b/src/delete.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir.h b/src/dir.h
index c46bb3178db78a441e7e7f4a4fb2fb1fff896b8a..7dc975779ae1a5146d58e8efdc3f81d1a6934af1 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_common.c b/src/dir_common.c
index c9d27490e570b78bba8a75cb90c88cad8239df25..cbac6af7d658d348933451a6acd7794a50772cd9 100644
--- a/src/dir_common.c
+++ b/src/dir_common.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_export.c b/src/dir_export.c
index 3ca8fd71d32f20df1f2faf784e5ac0d77dee34e7..b458ba4453bbb9c93bb7c83cd10231adc2c7adb6 100644
--- a/src/dir_export.c
+++ b/src/dir_export.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_import.c b/src/dir_import.c
index 687e93f3814063bc5adb96c23ba903b27e5d6e94..b76e3a7e74d4881e5f164a1ba975d00cb9cdd8fc 100644
--- a/src/dir_import.c
+++ b/src/dir_import.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_mem.c b/src/dir_mem.c
index e8cf91127e10c682e6cc3d6334a77c7f6f43eee1..ed6afc8b96939ecde8c0c8aa0d9ce7adc890e18a 100644
--- a/src/dir_mem.c
+++ b/src/dir_mem.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_scan.c b/src/dir_scan.c
index e1c15b30de76d3f2f4c04655b98e909f41698a59..7c1bc770ca6b8fecc2629ac63bf8df762c9f41dd 100644
--- a/src/dir_scan.c
+++ b/src/dir_scan.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dirlist.c b/src/dirlist.c
index 2352ee53cb7943c2d923c183ec946724d55cafa0..c897ce6049910b2c883d29ac5042ba070e2b5250 100644
--- a/src/dirlist.c
+++ b/src/dirlist.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dirlist.h b/src/dirlist.h
index 0b0493a37b4355985e0243f4a106434c792499d5..702b1c727ed0fbffbe0e80c36556936f713edfb5 100644
--- a/src/dirlist.h
+++ b/src/dirlist.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/exclude.c b/src/exclude.c
index 6a343db9a92a42ec2760b142724fa685bdaeba15..a647c6b880147b83915faed5a1839823d47a9e3b 100644
--- a/src/exclude.c
+++ b/src/exclude.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/exclude.h b/src/exclude.h
index 83f6c099b4ded25c34be06bc66897f2920552e5a..4d4a1a7dbb27b60122be6fce1229421fe14f3aab 100644
--- a/src/exclude.h
+++ b/src/exclude.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/global.h b/src/global.h
index 52f899cbe669a31825e07f8b258020ae4a460e4f..74e468d7d283db8f427a64c9248b7acc18c08758 100644
--- a/src/global.h
+++ b/src/global.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/help.c b/src/help.c
index e0730f1f8e4cf60665d6fb278a9e6bd5a9062d64..2dfbf3b5aba7f06bcb5c59e56b4ef5a497dad5d7 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/help.h b/src/help.h
index 0fbc38ece6ce582a432f1b0abafe90b559d445e4..12e0fefc6d2cdb803b71dae6517d4d498acb860a 100644
--- a/src/help.h
+++ b/src/help.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/main.c b/src/main.c
index 19280eed14c36c63c02f7089c701c9cff885736a..c9562fd07d97fca1317315d2cc3f37ffcc8bf3bd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/path.c b/src/path.c
index 41232c768019bed37915963e2935145353c8fc71..aaea32d4f76c9fe58e73d24b3555a19b22fd29b7 100644
--- a/src/path.c
+++ b/src/path.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/path.h b/src/path.h
index b70adb7b49caa22ea326fa5697cf70be94685ab4..d07d83ce4fd0102b532f4f7590151c571ae6cd8e 100644
--- a/src/path.h
+++ b/src/path.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/quit.c b/src/quit.c
index dddade5cac79cf1af830c64c30cf8814a7b79cfb..9b3d471cc536a9eb6fcf877fa490093519955b8a 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2015-2021 Yoran Heling
+  Copyright (c) 2015-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/quit.h b/src/quit.h
index 10318917938153f3c6cfe3f22f382114f5a8e10b..e431656add59ac542773a13ab587737ec242b303 100644
--- a/src/quit.h
+++ b/src/quit.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2015-2021 Yoran Heling
+  Copyright (c) 2015-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/shell.c b/src/shell.c
index 289ebe20904a785aaa379051816921f57882f0a5..24fe2f144dfe17824323f44e4481c34f674ce9e5 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
   Shell support: Copyright (c) 2014 Thomas Jarosch
 
   Permission is hereby granted, free of charge, to any person obtaining
diff --git a/src/shell.h b/src/shell.h
index 6b5709ddaa9da0e87a6087b3dac88a413a909a64..4e0c2368ef45d47b062c929ad92b7d32f6d72dd2 100644
--- a/src/shell.h
+++ b/src/shell.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
   Shell support: Copyright (c) 2014 Thomas Jarosch
 
   Permission is hereby granted, free of charge, to any person obtaining
diff --git a/src/util.c b/src/util.c
index 490a3727809b2a36667ff89bee60e96ee1384d56..fcee03a725fc26b6f2efc20d487218f407b65eab 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/util.h b/src/util.h
index 19689d37f42d7177baa6eb2e82723d2cdd7afc21..a8b6553b5892745b908cef6716e7d8533593744a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2021 Yoran Heling
+  Copyright (c) 2007-2022 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the