initial commit.  default behavior replicated.  somewhat better behavior for textile.