Updated static analizer to accept typedlua parser in addition to metalua.
Fixed replacement when selection doesn't match the text being searched for.
Fixed unused variables and constants based on static analysis.