several fixes, improvements, & attr support (though server seems to have a bug)