Correct timestamp comparison, clean up menu item displaying code
Fix memory leaks caused by response struct never being freed