Rudimentary drawing complete, contains some error case handling