Text this: Optimal State Transfer and Entanglement Generation in Power-Law Interacting Systems