add hide() on piano Item deletion
add more hacks for Windows MinGW compilation