label formatter
various improvements and refactoring
ui updates