Added pubsub module. Setting app title on note load. Cleaned up how the last edited note is loaded. Code clean up