Worked on que detection. Splines now draw using subdivision and a simplie algorithm for detecting ques is added. Nothing is tuned yet though.