added qarg to flaskui
adding debugging print to flaskui