improve apple Fn key identification & handling
strip executable during install
reorganize imports & defines