added space and energy measurements and displayed them on the screen; fixed None movement bugs in View