Changed container for Layer and ImagePanel, added log4j to the project
for debugging.