fix crashing bug & remove app.config

app.config not useful right now.  app would crash because a line of
motion detector was not commented out