Commit for night work 2013-08-20 about IPC and some messy codes