fixed, window now shows, isRunning is throwing error though