Improved asyncore exception handling, arg parsing