Transport, stability and plasma control studies in the TJ-II stellarator