comment out wine enabler
use C++11 type traits
remove unnecessary methods
improve reseting