Properly fix a warning.
Properly fix a warning.

Stop using reflection when its not needed.
Properly fix warning.

Use generics.
Properly fix another warning.

Using generics.
Remove unused code.
Remove more unused code.
Merge pull request #34 from GUIpsp/Dev

Misc. source cleanups.