* Add shlib assertions * Remove obsolete code * Fix shellcheck warnings * Switch to explicit -o nounset * Switched boolean shortcuts to if-then statements * Review suggestion