Use enum for window event result
Use unique_ptr for MenuX
Use unique_ptr for menu
Use unique_ptr for font->ft_chars
Use unique_ptr for font->ft_bitmaps
Use unique_ptr for automap->drawingListBright
Use unique_ptr for automap->edges