Fix dereferencing const ref_ptr's (closes #143)
Merge remote-tracking branch 'origin/master' into statestack_79