Well, after taking this info into account... and after you said "just go," you refused to kiss her, and you didn't show any continued interest in her while she was over (I hope), I say you handled that well. If she pulls a surprise visit to your place again I'd suggest telling her more bluntly...