~としたことが => ~ surprised N1
Surprised
したがって => Because of A, B N2
Reason, Result, Response
したがって => as; therefore; in accordance with; according to; consequently ~ N2
てしょうがない/てしかたがない => Very A; Really A; Extremely A N2
Degree, Level, Amount
しかしながら => however, nevertheless N2
Things do not match the prediction
にしたがって => as; therefore; in accordance with; according to; consequently ~ N2
~んがため(に)/~んがための      => in order to ~ N1
…たりしたら/しては => ... Such as N3
Demonstrate by example
ふしがある => Seem N2
Speculation
ただし/ただ => right; correct. N2
たいがい => in general N2
Repetition, habit
としたところで/としたって/にしたところで/にしたって => Even if; Even supposing that ~ N1