though

“I do have a bit of a problem though.”
Is this sentence grammatically correct?
Is ‘though’ a preposition?

I do have a bit of a problem, though.

‘Though’ is an adverb.

Mister Micawber,
What does ‘though’ mean here?

though - similar to: however
in that example