I'm glad that I could help.
Also keep in mind that when you enter bootloader your registers are not in reset state. So I always disable interrupt and timers in bootloader.