Moved member variables last in class.
Removed unused typedef.
Renamed typedefs.
Cleanup of Release* and virtual.
Added missing STL includes.
Refactored out static settings into own class.