pir: are you 100% sure you connected it correctly and that it was 5+ Volt ?.
if you mix this then u will get problems ...
anyway i am glad to hear it still works but there was some parts in your post i didnt understand, want to try explaining it again?