Counter Implemented, Advanced Params Started

Cleaned some code, Added advanced trench parameters (not implemented),
added global basic counter and testing hints. CURRENT ERROR: Filling
Trench after respawning does not add new action Dig Trench.