app.c: fixed controls using ncurses
app.c: added back in the dcml controls everything should work now.
Makefile for app