added battery tracker also changed default terminal...added locking