Fixing return values
changed space-bug and graphics test