Add focus in/out support. Close #36.