Converted GetRemedyTab to function
Corrected issues with GetRemedyTab() function brought to you by FU AHK