Fixed opt_args

but I haven't fixed the problem with the window yet...