added PE-Plus support, yey
fixed some cpp warnings
using c++ castings instead of c castings

yey