Test if system is run in node (require stuff) or not; also do not have a separate rendering stage when map is not ready