some minor library changes
added soft reset -- is broken