Fixed various QNX errors