bugFixes and pathnode

Signed-off-by: Matti Tuomola / Labris <matti.tuomola@lasoft.fi>