misc bugfixes, added a couple methods/properties