make window maximization terminal emacs friendly
add our KEYID
fix mac os x alias setting
use hub if present
add magic line