All perfect praise be to Allah, The Lord of the Worlds. I testify that none is worthy of worship except Allah and that Muhammad, , is His slave and messenger.
A person is not sinful for all these imaginations because Allah, out of His vast Mercy, has forgiven this nation for their thoughts as long as they do not act upon them or speak about them. Therefore, you are not sinful for what you have mentioned in the question.
However, you have to strive to guard your thoughts and preoccupy yourself by thinking about what will benefit you in your religion and your worldly matters in order to be cured from these whispers, Allah willing.
You have to strive against these whispers and try to get rid of them because giving in to them leads you to a great evil.
For more benefit on whispers, please refer to Fataawa 396772, 389311 and 18353.
Allah Knows best.