Fix compiler warnings
There is a lot of warnings when the code is compiled. Lain asked in the screen cast to fix them.
- unused variables
- unused alias
- unsafe variables
- functions
I am actually already trying to fix them. Some of them seem to indicate errors or at least ambiguity.