Added random note length function, updated UI.