added path drawing to gui