fixed some bugs, more readable noteboxes