You can use the string method to check the frame for alignment. Are you saying that the handle bars aren't aligned with the front wheel or they aren't aligned with the top tube when riding in a straight line? I don't kow why you would need a new stem or bar unless these are bent. Does one side of the bar feel taller than the other? When you ride in a straight line does the front wheel align with the front frame triangle?
Any pictures?