some tui fixes, prepared for completly rework pam stuff