Cleaned up code files.
Cleaned up tank internal control.