Debuged and imoproved stability and unexpected error avoidance.