Fixed wrong hash code being saved for presets.
Implemented virtual CPE for testing to replace old testing code