added pause support;
fixed new game bug;