improved array handling,added sleep function,fixed socket read,fixed init_cmp init block execution handling,a lot of other minor fixes and additions