Minor code clean up
- Removed DlgShowSplits subprogram, not needed
- Many unused variables and comments removed