Fixed note output and updated UI