Own password symbols now taken into account for password generation. Sanity checks added to password generator function to prevent freezing