I went on through, unlocked the window and left.
( I ( ( ( ( ( ( ( went on ) through ) , ) ( unlocked ( the window ) ) ) and ) left ) . ) )
(ROOT (S (NP (PRP I)) (VP (VP (VBD went) (PRT (RP on)) (PP (IN through))) (, ,) (VP (VBD unlocked) (NP (DT the) (NN window))) (CC and) (VP (VBD left))) (. .)))
I stayed there for a long time. 
( I ( ( ( stayed there ) ( for ( a ( long time ) ) ) ) . ) )
(ROOT (S (NP (PRP I)) (VP (VBD stayed) (ADVP (RB there)) (PP (IN for) (NP (DT a) (JJ long) (NN time)))) (. .)))