Remove `stack_display()` and do a small cleanup

This function isn't used anywhere.
Simplify license boilerplate in source files