Added isRunning and bug fixes to dispose in JettyApplication.
Updated to use defaultPort instead of port.