refactored logging
just in case
added keyboard stuff
fix
updated to new specs