added pid printing, made waiting for attachment time out after 15 seconds
fixed up logging on waiting for attach, log system isn't initialized by that point yet
Merge pull request #499 from badlogic/printpid

Added PID printing via flag