Fix stack overflow on invalidate, remove last token properly on 2.x
Fix crash on no hint in layout
Fix token drawing height and keyboard hiding on 4.x

Close issue #16