Rewrite die() as stop()

stop() outputs error message into STDERR as usual applications.
Support chord name

str_replace all parenthesized chord names to their corresponding string-
position sequences.