fix for #2 - spacebar not working during password entry. needs testing.