Fixed up makefile and changed inproper usage of sizeof that was causing odd ui behaviour