adding energy selection in batch mode

also fixed bug in opencl macro
fixed alignment

ugly hack: may not look good for all styles
energy range widgets finished

not entirely happy though: using the arrows of the spinbuttons results
in a double call. Tried to fix it but doesnt seem to work but this may
be a Mac thing