window: replace raw pointers with smart pointers
files: replace raw pointers with smart pointers
event: add operator== and operator!=
event: delete move and copy constructors