WIP migrate NSApplicatin
use argument types for type restrictions in crystal
proper bool result handling