added correct insets for keyboard show, added bunch of libraries for checking