updating to latest BC, added RF api and fixed gui errors