Fixing some classes.
 - Most of the things here should actually be replaced with .NET classes (I.E. registry, reading INIs, Loading bitmaps...)