Changed how the current note is displayed in pd demo.
Fixed the problem where the pd service continues to run after closing
the application.