Fixed one-jar creation
Added handling of option parsing exceptions