Ok so heres your next problem.
Think of 'appControl' being wrapped in a while(1){} loop
So your code is like this:
while(1){ // ie loop FOREVER
set motors to go forward
wait 5 seconds
set motors to stop
}
So your motors stop, but then the loop starts again and makes them go forwards. So they stop for a minute fraction of a second.
Try adding another delay after your 'stop' command.