Fix missing Dispose issue

Application needs to be disposed otherwise we get a warning when the
app exits. Also remove obsolete resource file.