Added a Layer List Widget, moved frequently-used utility functions to new Util namespace.