Introduced macros for system-resources, and checking input about them.
Removed alternative input-reading.

Never used, and duplicated code.