fixed deinit bug
updated pfio C library to allow optional pin setup (false by default)