Client side changes

Added stack trace prints to handler profiler
Removed 'type' option from config, always send to server.